Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 5 - Attribute Objects / Attribute Objects Reference
Attribute Objects Routines / Creating and Managing Attribute Sets


Q3AttributeSet_GetNextAttributeType

You can use the Q3AttributeSet_GetNextAttributeType function to iterate through all the attributes in an attribute set.

TQ3Status Q3AttributeSet_GetNextAttributeType (
TQ3AttributeSet source, 
TQ3AttributeType *type);
source
An attribute set.
type
On entry, an attribute type. On exit, the attribute type of the attribute that immediately follows that attribute in the attribute set.
DESCRIPTION
The Q3AttributeSet_GetNextAttributeType function returns, in the type parameter, the attribute type of the attribute that immediately follows the attribute having the type specified by the type parameter in the attribute set specified by the source parameter. To get the type of the first attribute in the attribute set, pass kQ3AttributeTypeNone in the type parameter. Q3AttributeSet_GetNextAttributeType returns kQ3AttributeTypeNone when it has reached then end of the list of attributes.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996